home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!usenet
- From: spaceldy@atl.mindspring.com (Felicite A. Reedick)
- Newsgroups: comp.lang.c++
- Subject: Re: Need help with malcfuntioning dialog
- Date: Wed, 20 Mar 1996 00:20:36 GMT
- Organization: MindSpring Enterprises, Inc.
- Message-ID: <4io006$80s@B1FF.mindspring.com>
- References: <314F22BE.A2C@unet.univie.ac.at>
- Reply-To: spaceldy@atl.mindspring.com
- NNTP-Posting-Host: user-168-121-94-189.dialup.mindspring.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- Benjamin Bockisch <a9301108@unet.univie.ac.at> wrote:
-
- >Using ObjectWindows 2.0, I have written a program that uses several Dialogs. The program
- >works just fine when run from the Borland C++ 4.0 IDE, if, however, the IDE is not running I
- >get the following error:
-
- >"ObjectWindows Exception: Execute fail for window".
-
- I use Borland 4.53 at work, and had a problem similar to what you are
- experiencing. You probably do not have the BWCC library loaded. In
- the SetupWindow of your TApp, add the line :
- LoadBWCC(true); //I'm pretty sure that's the syntax.
-
- The reason you program would run from the IDE was because the IDE
- itself already had the BWCC library loaded. When the IDE wasn't
- running, your program didn't have access to the ObjectWindows routines
- needed to create a window which caused the execption error.
-
- I learned this wonderful piece of info from a book called "Tips,
- Tricks and Traps for Borland 4.x". Very useful book.
-
-
-